package com.king.service;

import com.king.pojo.entity.SysUser;
import com.king.pojo.query.UserQuery;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

import java.util.List;

/**
 * @author liukai
 */
public interface UserService {

    SysUser insert(SysUser user);

    Page<SysUser> listUser(UserQuery userQuery, Pageable pageable);

    List<SysUser> listUser(SysUser user);

    void savePassword(String userId);
}
